Added gtk_extended_layout_is_height_for_width()
authorTristan Van Berkom <tristan.van.berkom@gmail.com>
Sun, 11 Apr 2010 02:32:55 +0000 (22:32 -0400)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Sun, 11 Apr 2010 02:32:55 +0000 (22:32 -0400)
commit24950ec14413cc409c9f2f15a3c5af3f950b336f
treeab09789352b69528c7fcbc838e2029e00976e30c
parent629bb5a2658e2035912c4da1b03d43027fc41564
Added gtk_extended_layout_is_height_for_width()

Added an indicator telling whether a widget prefers to be allocated
as height-for-width or width-for-height. Usually this depends on the
orientation of a container or the nature of a content widget like GtkLabel.

This indicator is only used in the seldom case where a parent is allocating
free space to the child and the child can flow in either direction, GtkWindow
and GtkScrolledWindow are users of this api.
gtk/gtk.symbols
gtk/gtkextendedlayout.c
gtk/gtkextendedlayout.h